package com.example.demo.vo;

import lombok.Data;
import org.springframework.util.StringUtils;

/**
 * @Author linjl
 * @Date 2023-06-17
 */
@Data
public class LoginVO {

    private String account;
    private String password;

    public boolean verify(String account, String password) {
        if (account == null || password == null) {
            return false;
        }
        if (this.account.equals(account) && this.password.equals(password)) {
            return true;
        }
        return false;
    }

}
